package com.virgo.demo.market.domain.bo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FriendLinkBo implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	private Long id;

	@NotBlank(message = "链接名称不能为空")
	private String name;

	@NotBlank(message = "链接地址不能为空")
	private String link;

	private Integer sort;
}